- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.1k
 
Create header mode to enable eliding function / method bodies #5516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d2bc6f9    to
    1078988      
    Compare
  
    | 
           Is this a Kotlin/JVM-only feature? If yes, then why the CLI flag is available for other Kotlin compilers? If no, then what's the plan towards the exising   | 
    
          
 No, we should change the description of the issue. It should work atleast across the JVM and native compiler. Once all the features are implemented, we might be able to deprecate the Xheader-klib-path.  | 
    
        
          
                compiler/arguments/src/org/jetbrains/kotlin/arguments/description/CommonCompilerArguments.kt
          
            Show resolved
            Hide resolved
        
              
          
                ...ee2fir/src/org/jetbrains/kotlin/fir/lightTree/converter/LightTreeRawFirDeclarationBuilder.kt
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | 
           I think, it's also important to pass the "header mode" flag down to   | 
    
e6c6a4e    to
    e4690f2      
    Compare
  
    | 
           I don't see any tests for the feature and it seems quite strange for me. As a very minimum, I'd recommend to add some new tests to   | 
    
        
          
                compiler/fir/raw-fir/light-tree2fir/src/org/jetbrains/kotlin/fir/lightTree/LightTree2Fir.kt
              
                Outdated
          
            Show resolved
            Hide resolved
        
      0916a66    to
    f02fb2d      
    Compare
  
    ^KT-78422
f02fb2d    to
    f300414      
    Compare
  
    | 
           Partially merged (discussed internally).  | 
    
More in https://youtrack.jetbrains.com/issue/KT-78422